/**
 *  @file
 *  @brief   积分点
 *  @author  wanghuan
 *  @date    2024.02.29
 *  @version  v1.0
 *  @par Copyright(c):  ShenGong  Simulation corporation
 */

#pragma once
#include <vector>

#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Real.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
/// @brief 积分点
///
/// 包含积分点坐标和权系数
struct IntegPoint
{
    SG::DataStructure::Common::Real m_x      = 0.0;  ///< 积分点坐标
    SG::DataStructure::Common::Real m_y      = 0.0;  ///< 积分点坐标
    SG::DataStructure::Common::Real m_z      = 0.0;  ///< 积分点坐标
    SG::DataStructure::Common::Real m_weight = 0.0;  ///< 权系数
};
using IntegPointArray = std::vector<IntegPoint>;

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE